app.controller("SpecController",function($scope, $controller, SpecService){


    $scope.entity = {};//编辑保存用的实体数据

    $controller("baseController",{$scope:$scope});


    $scope.sendRecord = function(){
        SpecService.save($scope.entity).then(function(result){
                //刷新列表
                location="/ping/test";


        });
    };

});